package cn.deschen.biz.domain.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 创意表
 * </p>
 *
 * @author deschen
 * @since 2021-06-02
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="AdCreative对象", description="创意表")
public class AdCreative extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "标记当前记录所属用户")
    private Long userId;

    @ApiModelProperty(value = "创意名称")
    private String creativeName;

    @ApiModelProperty(value = "物料类型(image-图片, video视频)")
    private String materialType;

    @ApiModelProperty(value = "物料子类型(图片: bmp, jpg 视频:mp3, avi)")
    private String childMaterialType;

    @ApiModelProperty(value = "高度")
    private Integer height;

    @ApiModelProperty(value = "宽度")
    private Integer width;

    @ApiModelProperty(value = "物料大小, 单位是 KB")
    private Long size;

    @ApiModelProperty(value = "持续时长, 只有视频才不为 0")
    private Integer duration;

    @ApiModelProperty(value = "审核状态(auditing-审批中  pass-审核通过 be_refused-被打回拒绝)")
    private String auditStatus;

    @ApiModelProperty(value = "物料地址")
    private String url;


}
